package com.baosight.risk.service.quartz.entity;

import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Table: sys_job_log
 */
@Data
@Table(name = "sys_job_log")
public class SysJobLog extends BaseEntity {

    /**
     * 任务名称
     * <p>
     * Table:     sys_job_log
     * Column:    job_name
     * Nullable:  false
     */
    @Column(name = "job_name")
    private String jobName;

    /**
     * 任务组名
     * <p>
     * Table:     sys_job_log
     * Column:    job_group
     * Nullable:  false
     */
    @Column(name = "job_group")
    private String jobGroup;

    /**
     * 任务方法
     * <p>
     * Table:     sys_job_log
     * Column:    method_name
     * Nullable:  true
     */
    @Column(name = "method_name")
    private String methodName;

    /**
     * 方法参数
     * <p>
     * Table:     sys_job_log
     * Column:    method_params
     * Nullable:  true
     */
    @Column(name = "method_params")
    private String methodParams;

    /**
     * 日志信息
     * <p>
     * Table:     sys_job_log
     * Column:    job_message
     * Nullable:  true
     */
    @Column(name = "job_message")
    private String jobMessage;

    /**
     * 执行状态（0正常 1失败）
     * <p>
     * Table:     sys_job_log
     * Column:    status
     * Nullable:  true
     */
    private String status;


    /**
     * 异常信息
     * <p>
     * Table:     sys_job_log
     * Column:    exception_info
     * Nullable:  true
     */
    @Column(name = "exception_info")
    private String exceptionInfo;

    private static final long serialVersionUID = 1L;
}